package cn.stylefeng.guns.modular.tao.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 陶启然
 * @since 2019-07-09
 */
@TableName("tao_stock")
public class TaoStock implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 库存表，id
     */
    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    /**
     * 图
     */
    @TableField("picture")
    private String picture;

    /**
     * 商品编号
     */
    @TableField("goods_number")
    private String goodsNumber;

    /**
     * 商品名称
     */
    @TableField("goods_name")
    private String goodsName;

    /**
     * 商品简名
     */
    @TableField("goods_abbreviation")
    private String goodsAbbreviation;

    /**
     * 规格
     */
    @TableField("specifications")
    private String specifications;

    /**
     * 型号
     */
    @TableField("model")
    private String model;

    /**
     * 重量
     */
    @TableField("weight")
    private BigDecimal weight;

    /**
     * 基本单位
     */
    @TableField("basic_unit")
    private String basicUnit;

    /**
     * 库存数量
     */
    @TableField("inventory_quantity")
    private Long inventoryQuantity;

    /**
     * 总重量
     */
    @TableField("total_weight")
    private BigDecimal totalWeight;

    /**
     * 成本均价
     */
    @TableField("average_cost")
    private BigDecimal averageCost;

    /**
     * 库存金额
     */
    @TableField("inventory_amount")
    private BigDecimal inventoryAmount;

    /**
     * 可销售库存
     */
    @TableField("saleable_inventory")
    private Long saleableInventory;

    /**
     * 辅助单位
     */
    @TableField("auxiliary_units")
    private String auxiliaryUnits;

    /**
     * 辅助数量
     */
    @TableField("auxiliary_number")
    private Long auxiliaryNumber;

    /**
     * 货位
     */
    @TableField("cargo_location")
    private String cargoLocation;

    /**
     * 零售价
     */
    @TableField("retail_price")
    private BigDecimal retailPrice;

    /**
     * 状态
     */
    @TableField("state")
    private String state;

    /**
     * 商品备注
     */
    @TableField("commodity_remarks")
    private String commodityRemarks;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public String getGoodsNumber() {
        return goodsNumber;
    }

    public void setGoodsNumber(String goodsNumber) {
        this.goodsNumber = goodsNumber;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsAbbreviation() {
        return goodsAbbreviation;
    }

    public void setGoodsAbbreviation(String goodsAbbreviation) {
        this.goodsAbbreviation = goodsAbbreviation;
    }

    public String getSpecifications() {
        return specifications;
    }

    public void setSpecifications(String specifications) {
        this.specifications = specifications;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public BigDecimal getWeight() {
        return weight;
    }

    public void setWeight(BigDecimal weight) {
        this.weight = weight;
    }

    public String getBasicUnit() {
        return basicUnit;
    }

    public void setBasicUnit(String basicUnit) {
        this.basicUnit = basicUnit;
    }

    public Long getInventoryQuantity() {
        return inventoryQuantity;
    }

    public void setInventoryQuantity(Long inventoryQuantity) {
        this.inventoryQuantity = inventoryQuantity;
    }

    public BigDecimal getTotalWeight() {
        return totalWeight;
    }

    public void setTotalWeight(BigDecimal totalWeight) {
        this.totalWeight = totalWeight;
    }

    public BigDecimal getAverageCost() {
        return averageCost;
    }

    public void setAverageCost(BigDecimal averageCost) {
        this.averageCost = averageCost;
    }

    public BigDecimal getInventoryAmount() {
        return inventoryAmount;
    }

    public void setInventoryAmount(BigDecimal inventoryAmount) {
        this.inventoryAmount = inventoryAmount;
    }

    public Long getSaleableInventory() {
        return saleableInventory;
    }

    public void setSaleableInventory(Long saleableInventory) {
        this.saleableInventory = saleableInventory;
    }

    public String getAuxiliaryUnits() {
        return auxiliaryUnits;
    }

    public void setAuxiliaryUnits(String auxiliaryUnits) {
        this.auxiliaryUnits = auxiliaryUnits;
    }

    public Long getAuxiliaryNumber() {
        return auxiliaryNumber;
    }

    public void setAuxiliaryNumber(Long auxiliaryNumber) {
        this.auxiliaryNumber = auxiliaryNumber;
    }

    public String getCargoLocation() {
        return cargoLocation;
    }

    public void setCargoLocation(String cargoLocation) {
        this.cargoLocation = cargoLocation;
    }

    public BigDecimal getRetailPrice() {
        return retailPrice;
    }

    public void setRetailPrice(BigDecimal retailPrice) {
        this.retailPrice = retailPrice;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getCommodityRemarks() {
        return commodityRemarks;
    }

    public void setCommodityRemarks(String commodityRemarks) {
        this.commodityRemarks = commodityRemarks;
    }

    @Override
    public String toString() {
        return "TaoStock{" +
        "id=" + id +
        ", picture=" + picture +
        ", goodsNumber=" + goodsNumber +
        ", goodsName=" + goodsName +
        ", goodsAbbreviation=" + goodsAbbreviation +
        ", specifications=" + specifications +
        ", model=" + model +
        ", weight=" + weight +
        ", basicUnit=" + basicUnit +
        ", inventoryQuantity=" + inventoryQuantity +
        ", totalWeight=" + totalWeight +
        ", averageCost=" + averageCost +
        ", inventoryAmount=" + inventoryAmount +
        ", saleableInventory=" + saleableInventory +
        ", auxiliaryUnits=" + auxiliaryUnits +
        ", auxiliaryNumber=" + auxiliaryNumber +
        ", cargoLocation=" + cargoLocation +
        ", retailPrice=" + retailPrice +
        ", state=" + state +
        ", commodityRemarks=" + commodityRemarks +
        "}";
    }
}
